package org.example;

import java.util.ArrayList;

public class Generic_Demo_A1 {
    public static void main(String[] args) {
        //接口中实现类给出具体类型
        ArrayList_Interface1 list = new ArrayList_Interface1();
        list.add(1);
        list.add(2);
        list.add(3);
        System.out.println(list);
    }
}
